package com.wdf.project03.Mapper;

import com.wdf.project03.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {
    //@Select("select * from user")
    public List<User> list();
    public User getById(Integer id);

    public void insert(User user);

    public void deleteById(Integer id);
}
